package ld.oauth.blog.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ReplyVo {


    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("问题id")
    private Integer questionId;

    @ApiModelProperty("回答md内容")
    private String mdContent;

    @ApiModelProperty("回答html内容")
    private String htmlContent;

    @ApiModelProperty("父id")
    private Integer parentId;

    @ApiModelProperty("创建人")
    private Integer userId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createDate;

    private String nickName;

    private String userImage;

    private List<ReplyVo> children;

}
